package com.sy.core.exception;


/**
 * 自定义一个参数异常类
 */
public class ParamsException extends Exception{

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String message;


    public ParamsException() {
    }

    public ParamsException(String message) {
        super(message);
        this.message = message;
    }

    @Override
     public String getMessage() {
        return message;
     }

     public void setMessage(String message) {
        this.message = message;
     }
}
